package dynamic;

import visualcbir.node.IViewNode;

/**
 *
 * @author sheila
 */
public class Edge {

    private ViewNodeDyn oNodeFrom;
    private ViewNodeDyn oNodeTo;
    double len;
    public Edge(ViewNodeDyn oNodeFrom, ViewNodeDyn oNodeTo, double len){
        this.oNodeFrom=oNodeFrom;
        this.oNodeTo=oNodeTo;
        this.len=len;

    }
    public double getLen() {
        return len;
    }

    public ViewNodeDyn getoNodeFrom() {
        return oNodeFrom;
    }

    public ViewNodeDyn getoNodeTo() {
        return oNodeTo;
    }
    
}
